import {defineConfig} from 'vite';
import vue from '@vitejs/plugin-vue';
import shader from "rollup-plugin-shader";

// https://vitejs.dev/config/
export default defineConfig({
    plugins: [vue(), shader({
        include: "**/*.+(frag|vert)", // 打包哪些后缀名的文件
    }),],
    base: './',
    server: {
        host: "0.0.0.0",
        https: false,
    },
});
